import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import plugin from './utils/plugin'

// 桌面端适配
import '@vant/touch-emulator';


// 2. 引入组件样式
import 'vant/lib/index.css';

import '@/styles/reset.css';
import "@/styles/main.css"
import "@/utils/flexible.js";


const app = createApp(App)

app.use(createPinia())

app.use(router)

// 注册插件
app.use(plugin,{a:1})



app.mount('#app')
